<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="stylesheet" href="PythonCard.css" type="text/css" />
    <meta name="author" content="Dan Shafer" />
    <title>Installing PythonCard on Windows</title>
  </head>
  <body>
    <div id="banner">
    <h1>How to Install PythonCard on Windows</h1>
    </div>
    <?php include "sidebar.php" ?>
    <div id="content">
    <p>Installing PythonCard on your system requires the following steps:</p>
    <ol>
      <li>Download Python from the python.org site.</li>
      <li>Download wxPython from the wxPython.org site.</li>
      <li>Download PythonCard from the PythonCard site.</li>
      <li>Install Python</li>
      <li>Install wxPython</li>
      <li>Install PythonCard</li>
      <li>Confirm the installation works</li>
    </ol>
    <h2>Downloading Python</h2>
    <p>Python 2.4.3 is available from a couple of sources.</p>
    <ul>
      <li>The main <a href="http://www.python.org/2.4.3/">Python 2.4.3</a> page.</li>
      <li>The <a href="http://www.activestate.com/Products/ActivePython/more_information.plex">ActivePython</a> distribution</li>
    </ul>
    <p>For this guide, we'll be installing from the main Python site. Click on 
    this <a href="http://www.python.org/ftp/python/2.4.3/Python-2.4.3.exe">Python-2.4.3.exe</a> 
    link to begin the download. Tell your browser where you want the file stored 
    and the download proceeds. Note where on your system the file is saved by your
    browser.</p>
    <h2>Downloading wxPython</h2>
    <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPython2.6-win32-ansi-2.6.3.0-py24.exe">win32-ansi 2.6.3 for Python 2.4</a> 
    link to begin the download. Tell your browser where you want the file stored 
    and the download proceeds. Note where on your system the file is saved by your
    browser.</p>
    <h2>Downloading PythonCard</h2>
    <p>The latest version of PythonCard is always available via the <a href="http://sourceforge.net/project/showfiles.php?group_id=19015">PythonCard download page</a>. 
    Click on this <a href="http://prdownloads.sourceforge.net/pythoncard/PythonCard-0.8.2.win32.exe">PythonCard-0.8.2.win32.exe</a> 
    link to begin the download. Tell your browser where you want the file stored
    and the download proceeds. Note where on your system the file is saved by 
    your browser.</p>
    <h2>Installing Python</h2>
    <p>Python arrives at your system as an installable application. All you have 
    to do is double-click on the file you downloaded (it's called 
    Python-2.4.3.exe) and follow the instructions in the installation wizard. By 
    default, the installer will create a new directory C:\Python23 to contain the
    Python executables, documentation, tools, IDLE editor, and standard 
    libraries. We'll refer to that directory as just <strong>Python23</strong> for
    the remainder of the instructions.</p>
    <h2>Installing wxPython</h2>
    <p>wxPython also comes as an automatic installer. Just double-click on the
    file you downloaded (it's called wxPython2.6-win32-ansi-2.6.3.0-py24.exe) and follow 
    the instructions. By default, wxPython will be installed into 
    Python24\Lib\site-packages.</p>
    <h2>Installing PythonCard</h2>
    <p>PythonCard also comes as an automatic installer. Just double-click on the
    file you downloaded and follow the instructions. By default, the PythonCard 
    framework will be installed into Python23\Lib\site-packages.</p>
    <p>As part of the automated install some shortcuts and a program group on your
    start menu are created. If you have installed Python as a ordinary user (Who 
    doesn't have administration rights) then this may not work correctly. If, 
    after the installation has completed, you see a text box with the words
    &quot;*** Could not load Python ***&quot; in it then its likely this is the
    case. This isn't a big problem, PythonCard will still have been installed 
    onto your system, its just that the shortcuts and program group won't 
    appear.</p>
    <h2>Confirming Installation</h2>
    <p>OK, now comes the acid test. Open the folder called &quot;minimal&quot; in 
    Python23\Lib\site-packages\PythonCard\samples. Find the icon labeled
    minimal.py and double-click it. In a few moments (after an operating system 
    console window has appeared), a small window like the one shown in Figure 1 
    will appear. This indicates that your installation was successful and 
    everything is working. Close the minimal application in the usual way and 
    proceed with the Walk-Through.</p>
    <p class="imageCaption"><img src="images/wt1fig2.png" alt="PythonCard minimal application window open to confirm installation is correct" width="200" height="100" /><br />
    Figure 1. PythonCard minimal application window open to confirm installation 
    is correct</p>
    <p>If for some reason this test fails, go back over these instructions 
    carefully.  In particular, make sure that wxPython and PythonCard 
    both appear in the site-packages folder in Python's Lib folder.</p>
    <p>If everything seems OK and you still can't get minimal.py to launch, post 
    a message to the PythonCard Users Mailing List. (If you aren't yet a member, 
    visit the <a href="http://lists.sourceforge.net/lists/listinfo/pythoncard-users">list management page</a>
    and join.)</p>
    <p><a href="walkthrough1.html">Back to Walk-Through</a></p>
    <?php include "footer.php" ?>
    <p>$Revision: 1.18 $ : $Author: alextweedly $ : Last updated $Date: 2006/04/06 11:00:26 $</p>
    </div> <!-- end of content -->
  </body>
</html>
